﻿namespace WebAPI.Models
{
    public class Enums
    {
        public enum OperEnum
        {
            None = 0,
            Insert = 1,
            Update = 2,
            Delete = 3,
            Auth = 4,
            Export = 5,
            Import = 6,
            ForcedOut = 7,
            GenerateCode = 8,
            ClearData = 9,
            Login = 10
        }

        public enum LogType
        { 
            None = 0,

            AdministratorAccountLog = 1,

            SalePointLog = 2,

            ApiLog = 3,
        }

        public enum LanguageType
        {
            /// <summary>
            /// 英语
            /// </summary>
            En = 0,

            /// <summary>
            /// 繁体中文
            /// </summary>
            TC = 1,

            /// <summary>
            /// 简体中文
            /// </summary>
            SC = 2,
            /// <summary>
            /// other
            /// </summary>
            OT = 10000,


        }

        public enum TransactionStatusType
        {
            /// <summary>
            /// default
            /// </summary>
            None = 0,
            /// <summary>
            /// Pending Payment
            /// </summary>
            PendingPayment = 10,
            /// <summary>
            /// Payment overdue
            /// </summary>
            PaymentOverdue = 11,
            /// <summary>
            /// Payment cancel
            /// </summary>
            PaymentCancel = 12,
            /// <summary>
            /// Paymented (The payment interface has been called)
            /// </summary>
            Paymented = 20,
            /// <summary>
            /// Payment successful
            /// </summary>
            PaymentSuccess = 30,
            /// <summary>
            /// Payment failed
            /// </summary>
            PaymentFaled = 40,
        }

        public enum TransactionDataFeedResultsType
        {
            /// <summary>
            /// default
            /// </summary>
            None = 0,
            /// <summary>
            /// succeeded
            /// </summary>
            Succeeded = 10,
            /// <summary>
            /// Payment overdue
            /// </summary>
            Failure = 20,
            /// <summary>
            /// Error
            /// </summary>
            Error = 30,
        }
    }

   
}
